package model

type Subscription struct {
	Id                  uint   `gorm:"id"`
	OpenAppId           string `gorm:"open_app_id"`
	OpenMerchantId      string `gorm:"open_merchant_id"`
	StoreNo             string `gorm:"store_no"`
	SubscriptionNo      string `gorm:"subscription_no"`
	OutSubscriptionNo   string `gorm:"out_subscription_no"`
	MerchantPid         string `gorm:"merchant_pid"`
	ProductNo           string `gorm:"product_no"`
	ProductTitle        string `gorm:"product_title"`
	CardId              string `gorm:"card_id"`
	CardName            string `gorm:"card_name"`
	SellType            string `gorm:"sell_type"`
	Periods             string `gorm:"periods"`
	PeriodDay           string `gorm:"period_day"`
	DeductionAmount     string `gorm:"deduction_amount"`
	DownPayment         string `gorm:"down_payment"`
	DownPaymentDate     string `gorm:"down_payment_date"`
	DownPaymentDateRule string `gorm:"down_payment_date_rule"`
	TotalAmount         string `gorm:"total_amount"`
	ProductInfo         string `gorm:"product_info"`
	Status              string `gorm:"status"`
	UserId              string `gorm:"user_id"`
	UserPhone           string `gorm:"phone"`
	CreditAgreementId   string `gorm:"credit_agreement_id"`
	SignTime            string `gorm:"sign_time"`
	SurrenderTime       string `gorm:"surrender_time"`
}
